home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
STRINGS
/
PACKAGE6
/
INTTOSTR.DOC
< prev
next >
Wrap
Text File
|
1990-07-25
|
1KB
|
38 lines
-------------------------------------------------------------------------------
ChangeIntegerToString
-------------------------------------------------------------------------------
declaration: procedure ChangeIntegerToString ( IntegerNumber:
integer;
var ResultString:
TypeString);
purpose: Converts the given integer into string format
precondition: ResultString has been initialized
postcondition: ResultString is filled with the value contained in
IntegerNumber
special cases: none
example: var
Number:
integer;
AString:
TypeString;
begin
.
.
.
write (output,'Enter a number: ');
readln (input, Number);
ChangeIntegerToString (Integer, AString);
.
.
.
end
-------------------------------------------------------------------------------